﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using NTTDATA.BEENChina.ResultCertification.Client.Entry.UI; 

namespace NTTDATA.BEENChina.ResultCertification.Client.Entry
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //Application.Run(new FormDeliverCheck());
            try
            {
                Login login = new Login();
                login.ShowDialog();

                if (login.DialogResult == DialogResult.OK)
                {
                    Application.Run(new JobList());
                }

            }
            catch (System.Exception e)
            {
                MessageBox.Show(e.Message);
            }
        }
    }
}
